<%@page import="com.gfa4j.resource.ResourceManagerServer"%>
<%@page import="com.wef.common.util.CommonMessageDomain"%>
<%@ include file="/pages/common/taglib.jsp"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
		<title></title>
		<%@include file="/styles/css_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/css_lib.jsp"%>
		<link rel="stylesheet" type="text/css" href="${ctx}/pages/demo/demo.css" />
		
		<%@include file="/pages/common/js_global.jsp"%>
		<%@include file="/scripts/sdk/js_lib.jsp"%>
		<%@include file="/scripts/config/js_lib.jsp" %>
		<%@include file="/scripts/utils/js_lib.jsp"%>
		<%@include file="/scripts/i18n/js_lib.jsp"%>
		<%@include file="/scripts/format/js_lib.jsp"%>
		<%@include file="/scripts/validate/js_lib.jsp"%>
		<%@include file="/scripts/widgets/jquery-ui/js_lib.jsp"%>
		<%@include file="/scripts/widgets/datePicker/js_lib.jsp"%>
		<script type="text/javascript" src="${ctx}/pages/demo/demo.js"></script>
		
		<script type="text/javascript">
			$(window).ready(function(){
				
				//初始化控件验证规则
				$.jqValidator.initValidateRules("#form1");
				//初始化控件格式化规则
				$.jqFormatter.initFormatRules("#form1");
				
				$('#aDiv1').click(function(){
					$('#div1').attr('title',i18n.message.msg).dialog(dialogConfig);
				});
				
				$('#aDiv2').click(function(){
					$('#div2').attr('title',i18n.message.msg).dialog(dialogConfig);
				});
				
				$('#aDiv3').click(function(){
					$('#div3').attr('title',i18n.message.msg).dialog(dialogConfig);
				});
				
			});
		</script>
	</head>
<body class="body">
	<!--Content-->
	<form action="" id="form1">
		<div id="Content_Show">
			<div>
				<!-- ------------------------------------------------------------------------------------------ -->
				<div class="Desc">
					功能:1.可设置是否必输入标志：红色*标志,如下: (<a href="#" id="aDiv1">查看源码</a>)
				</div>
				<div id="div1" style="display: none;">
					必输入标志Label&lt;k:label text="demo.Subject.subjectName" allowBlank="false" /&gt;
				</div>
				<div>
					&nbsp;&nbsp;必输入标志Label <k:label text="demo.Subject.subjectName"  allowBlank="false"/>
				</div>
				<br />
				<!-- ------------------------------------------------------------------------------------------ -->
				<div class="Desc">
					功能:2.可强制使用某个语言,如下:(<a href="#" id="aDiv2">查看源码</a>)
				</div>
				<div id="div2" style="display: none;">
					语言en：&lt;k:label text="demo.Subject.subjectName" language="en"/&gt;</br>
					语言zh_CN：&lt;k:label text="demo.Subject.subjectName" language="zh_CN"/&gt;
				</div>
				<div>
					&nbsp;&nbsp;语言en：<k:label text="demo.Subject.subjectName" language="en"/>
					&nbsp;&nbsp;语言zh_CN：<k:label text="demo.Subject.subjectName" language="zh_CN"/>
				</div>
				<br />
				

			</div>
		</div>
	</form>
</body>
</html>